/*
 * @(#)Version.java        0.1 09/04/29
 * @version 	0.1 29 Apr 2009
 * @author 	Tran Dai Hiep
 * 
 * Luu tru mot trang thai trong Log
 * Do co loi nen da huy bo
 */



package Data;

import java.util.LinkedList;


public class Version {
	public LinkedList<Class> classes;
	public LinkedList<Line> lines;
	public Version(LinkedList<Class> c, LinkedList<Line> l) {
		classes = copy(c);
		lines = copy(l);
	}
	
	LinkedList copy(LinkedList c) {
		LinkedList tmp = new LinkedList();
		for (int i = 0; i < c.size(); i++) {
			tmp.addLast(new Class((Class)c.get(i)));
		}
		return tmp;
	}
}
